<template>
  <view class="search flex items-center">
    <view class="flex flex1" @click="onSearch">
      <up-search
        placeholder="搜索产品名称、款号"
        :showAction="false"
        disabled
        style="pointer-events: none;"
      />
    </view>
  </view>
</template>

<script setup>

// 搜索
const onSearch = () => {
  uni.navigateTo({
    url: "/pages/search/index"
  });
}
</script>

<style lang="scss" scoped></style>
